package com.itheima.spec.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Spec;
import entity.PageResult;

import java.util.List;

public interface SpecService  extends IService<Spec> {


    PageResult findSpecByPage(Integer currentPage, Integer pagesize);

     void insertSpec(Spec spec);

     void deleteSpec(Integer id);

    List<Spec> findSpecById(Integer id);

    void updateSpec(String name, String options, Integer seq, Integer id);

    List<Spec> findSpecLikeName(String name);
}
